<?php
class QrCodeShowAction extends BaseAction{
	//关注回复
	public function index(){
		if($this->_get('id')!=false){
			$model=M('qrcode')->where(array('cms_id'=>$this->_get('id')))->find();
			if($model==false){
				$this->error('不在的宣传页',U('Home/Index/index'));
			}else{
				$this->assign('userInfo',$model);
			}
		}else{
			$this->error('身份验证失败',U('Home/Index/index'));
		}
		$this->display();
	}

}
?>